﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Core;

namespace DataAccess.Classes
{
    class NhomNguoiDung
    {
        public string MaNhom { get; set; }
        public string TenNhom { get; set; }


        public NhomNguoiDung() { }

        public static List<NhomNguoiDung> LayDanhSach()
        {
            try
            {
                return CBO.FillCollection<NhomNguoiDung>(DataProvider.Instance.ExecuteReader("NhomNguoiDung_LayTatCa"));
            }
            catch
            {
                return null;
            }
        }
    }
}
